Optimal. Leaf size=46 \[ -\frac {2 a x}{b^3}+\frac {x^2}{2 b^2}+\frac {a^3}{b^4 (a+b x)}+\frac {3 a^2 \log (a+b x)}{b^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {45}
\begin {gather*} \frac {a^3}{b^4 (a+b x)}+\frac {3 a^2 \log (a+b x)}{b^4}-\frac {2 a x}{b^3}+\frac {x^2}{2 b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int \frac {x^3}{(a+b x)^2} \, dx &=\int \left (-\frac {2 a}{b^3}+\frac {x}{b^2}-\frac {a^3}{b^3 (a+b x)^2}+\frac {3 a^2}{b^3 (a+b x)}\right ) \, dx\\ &=-\frac {2 a x}{b^3}+\frac {x^2}{2 b^2}+\frac {a^3}{b^4 (a+b x)}+\frac {3 a^2 \log (a+b x)}{b^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 43, normalized size = 0.93 \begin {gather*} \frac {-4 a b x+b^2 x^2+\frac {2 a^3}{a+b x}+6 a^2 \log (a+b x)}{2 b^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 2.11, size = 54, normalized size = 1.17 \begin {gather*} \frac {3 a^2 \text {Log}\left [a+b x\right ] \left (a+b x\right )+a^3-2 a b x \left (a+b x\right )+\frac {b^2 x^2 \left (a+b x\right )}{2}}{b^4 \left (a+b x\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 46, normalized size = 1.00
method | result | size |
risch | \(-\frac {2 a x}{b^{3}}+\frac {x^{2}}{2 b^{2}}+\frac {a^{3}}{b^{4} \left (b x +a \right )}+\frac {3 a^{2} \ln \left (b x +a \right )}{b^{4}}\) | \(45\) |
default | \(-\frac {-\frac {1}{2} x^{2} b +2 a x}{b^{3}}+\frac {a^{3}}{b^{4} \left (b x +a \right )}+\frac {3 a^{2} \ln \left (b x +a \right )}{b^{4}}\) | \(46\) |
norman | \(\frac {\frac {3 a^{3}}{b^{4}}+\frac {x^{3}}{2 b}-\frac {3 a \,x^{2}}{2 b^{2}}}{b x +a}+\frac {3 a^{2} \ln \left (b x +a \right )}{b^{4}}\) | \(50\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.25, size = 47, normalized size = 1.02 \begin {gather*} \frac {a^{3}}{b^{5} x + a b^{4}} + \frac {3 \, a^{2} \log \left (b x + a\right )}{b^{4}} + \frac {b x^{2} - 4 \, a x}{2 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.30, size = 62, normalized size = 1.35 \begin {gather*} \frac {b^{3} x^{3} - 3 \, a b^{2} x^{2} - 4 \, a^{2} b x + 2 \, a^{3} + 6 \, {\left (a^{2} b x + a^{3}\right )} \log \left (b x + a\right )}{2 \, {\left (b^{5} x + a b^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.10, size = 44, normalized size = 0.96 \begin {gather*} \frac {a^{3}}{a b^{4} + b^{5} x} + \frac {3 a^{2} \log {\left (a + b x \right )}}{b^{4}} - \frac {2 a x}{b^{3}} + \frac {x^{2}}{2 b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 53, normalized size = 1.15 \begin {gather*} \frac {\frac {1}{2} x^{2} b^{2}-2 x b a}{b^{4}}+\frac {a^{3}}{b^{4} \left (x b+a\right )}+\frac {3 a^{2} \ln \left |x b+a\right |}{b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.08, size = 50, normalized size = 1.09 \begin {gather*} \frac {x^2}{2\,b^2}+\frac {3\,a^2\,\ln \left (a+b\,x\right )}{b^4}+\frac {a^3}{b\,\left (x\,b^4+a\,b^3\right )}-\frac {2\,a\,x}{b^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________